﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class getarea
    {
        public void count(int banjin) {
            Console.WriteLine("圆的面积为"+3.14*(banjin*banjin));
        }

        public void count(int chang,int kuang) {
            Console.WriteLine("长方形面积为"+chang*kuang);
        }
    }
}
